module.exports = {
  configureWebpack: {
    resolve: {
      alias: {
        'assets': '@/assets',
        'common': '@/common',
        'components': '@/components',
        'network': '@/network',
        'views': '@/views',
      }
    }
  },
  devServer: {
    host: '120.68.75.147', 
    port:8081,
    https:false,
    proxy: {
      '/api': {
        target: 'http://115.29.224.54:8080',
        changeOrigin: true, // 是否跨域
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  },
  publicPath: './',
}